package com.iot.ic.modules.dao;

import java.util.List;

import com.iot.ic.common.dao.BaseDao;
import com.iot.ic.modules.model.User;

public interface UserDao extends BaseDao {

    User findByMobile(String mobile,int userType) throws Exception;

    User findByNameOrMobile(String name,int userType) throws Exception;

    User findByName(String userName,int userType)throws Exception;

    User findById(Integer userName,int userType)throws Exception;

    boolean updateUser(User user)throws Exception;

    boolean updateUserRegId(Integer userId, String mRegId)throws Exception;

	List<User> findUser(Integer id, String name, String hospital, int i)throws Exception;

}
